import HttpRequest from '@/libs/axios';
var config = require('../../config');
var reg = new RegExp('"', 'g');
const baseUrl =
  process.env.NODE_ENV === 'development'
    ? config.dev.env.BASE_URL.replace(reg, '')
    : config.build.prodEnv.BASE_URL.replace(reg, '');

const axios = new HttpRequest(baseUrl);
export default axios;
